﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IDAL
{
   public interface IPolicySchemeDAL
    {
           void Add(PolicyScheme model);
           void Update(PolicyScheme model);
           DataTable Query(string strWhere, Hashtable parameter);
           void Delete(int policyId);

           PolicyScheme GetPolicyById(int policyId);

           DataTable GetPoliciesByPage(string strWhere, string strOrderBy, int pageIndex, int pageSize,
                                               out int recordCount, out int pageCount);

           DataTable QueryPolicyScheme(string strWhere);
      
    }
}
